package edu.bit.water.dao;

import edu.bit.water.entity.LabelCleanProduce;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface LabelCleanProduceDao {
	int insertLabelCleanProduce(LabelCleanProduce LabelCleanProduce) throws DataIntegrityViolationException;
	Integer getMaxId();
	int deleteLabelCleanProduce(@Param("id") int id);
	int updateLabelCleanProduce(LabelCleanProduce LabelCleanProduce);
	List<LabelCleanProduce> selectLabelCleanProduce();
}